<%-- 
    Document   : newjsp
    Created on : Oct 28, 2009, 1:51:17 AM
    Author     : Phong
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

        <link rel="stylesheet" href="css/style.css" />
        <link rel="stylesheet" href="css/front.css"  />

        <title>Themes</title>
    </head>


    <body bgcolor="#154978">
                       <script language="JavaScript" src="JavaScript/checkInput.js">
        </script>
        <table width="1024" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" align="center" class="tableRegister">
            <!--DWLayoutTable-->

            <tr>
                <td width="1024" height="157" valign="top" background="images/Banner.jpg">

                </td>
            </tr>
            <tr>
                <td height="463" valign="top">
                    <table width="100%" border="0" cellpadding="2" cellspacing="2">
                        <!--DWLayoutTable-->
                        <tr>
                            <td height="39" colspan="3" valign="top" background="images/button/bg_login.gif">
                                <%@include file="include/loginBar.jsp" %>
                            </td>
                        </tr>
                        <tr>
                            <td width="140" rowspan="2" valign="top">

                                <!-- MENU -->
                                <%@include file="menu_left.jsp" %>

                                <!--END MENU-->

                            </td>
                            <td width="631" rowspan="2" valign="top" style="margin-top:20px">


                                <form name="register" method="POST" onsubmit="return checkRegister(this);" action="singin"  >
                                    <table width="100%" align="center" cellpadding="5" >
                                        <tr>
                                            <td colspan="2" align="center"><h1 style="color:red">Register Member</h1></td>
                                        </tr>
                                        <tr>
                                            <td colspan="2"><p class="titleRe">Member Information</p></td>
                                        </tr>
                                        <tr>
                                            <td width="31%">
 			User Name : <span class="mes">*</span>
                                            </td>
                                            <td width="69%">
                                                <input type="text" name="user" size="30" id="u" class="inputRe">

                                            </td>
                                        </tr>
                                        <%
                                            String u = "";
                                            u = request.getParameter("u");
                                            if (u != null)  {
                                                %>
                                                <tr>
                                                    <td></td>
                                                    <td><span class="mes">Username exist, please try againt</span></td>
                                                </tr>
                                                <%
                                            }
                                        %>
                                        <tr>
                                            <td>
 			Password : <span class="mes"> *</span>
                                            </td>
                                            <td>
                                                <input type="password" name="pass" size="30" class="inputRe" >

                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
 			Confirm Password : <span class="mes"> *</span>
                                            </td>
                                            <td>
                                                <input type="password" name="pass2" size="30" class="inputRe">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>Email : <span class="mes"> *</span></td>
                                            <td>
                                                <input type="text" name="mail" size="30" class="inputRe">
                                            </td>
                                        </tr>
                                        <%
                                            String m = "";
                                            m = request.getParameter("m");
                                            if (m != null)  {
                                                %>
                                                <tr>
                                                    <td></td>
                                                    <td><span class="mes">Email exist, please try againt</span></td>
                                                </tr>
                                                <%
                                            }
                                        %>
                                        <tr>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td colspan="2"><p class="titleRe">Contact Member</p></td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td>
 			FullName : <span class="mes"> *</span>
                                            </td>
                                            <td>
                                                <input type="text" name="fullname" size="30" class="inputRe">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
 			Sex : <span class="mes"> *</span>
                                            </td>
                                            <td>
                                                <input type="radio" name="sex" value="1" checked="checked" /> Male
                                                <input type="radio" name="sex" value="0" /> Female
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
 			Birthday :
                                            </td>
                                            <td>
                                                <input type="text" class="inputRe" name="birthday" size="30" value="mm/dd/yyyy" onclick="javascript:register.birthday.value=''" >
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
 				Address :
                                            </td>
                                            <td>
                                                <textarea name="add" cols="30" rows="5"></textarea>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
 			Telephone : <span class="mes"> *</span>
                                            </td>
                                            <td>
                                                <input type="text" name="tel" size="30" class="inputRe">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td>
                                                <input type="submit" value=" Submit " name="submit">
                                                <input type="reset" value=" Reset " name="reset" >
                                            </td>
                                        </tr>
                                    </table>
                                </form>

                            </td>
                            <td width="240" height="320" align="center" valign="middle" bgcolor="#999999">Voice Here </td>
                        </tr>
                        <tr>
                            <td height="215" align="center" valign="middle" bgcolor="#CCCCCC">Top 5 </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>



    </body>
</html>
